//
//  VIPSignalingModel.h
//  TTProduct
//
//  Created by My mac on 2018/8/20.
//  Copyright © 2018年 TTProduct. All rights reserved.
//

#import <Foundation/Foundation.h>

@class VIPWinSubSignalingModel;

@interface VIPSignalingModel : NSObject

@property (copy, nonatomic) NSString *opVersion;
@property (copy, nonatomic) NSString *opClientVersion;
@property (copy, nonatomic) NSString *platform;
@property (copy, nonatomic) NSString *opType1;
@property (copy, nonatomic) NSString *msgID;
@property (strong, nonatomic) VIPWinSubSignalingModel *opParam1;

+ (instancetype)responseMessage:(NSString *)msg account:(NSString *)account;

@end

@interface VIPWinSubSignalingModel : NSObject

@property (copy, nonatomic) NSString *opType2;
@property (strong, nonatomic) NSString *practiceID;
@property (strong, nonatomic) NSString *opParam2;
@property (strong, nonatomic) NSDictionary *opJsonParam2;
@property (assign, nonatomic) NSUInteger uID; // 发送发送
@property (strong, nonatomic) NSString *name;
@property (assign, nonatomic) NSInteger recvID; // 接收方ID 0/selfUID 表示自己
@property (assign, nonatomic) NSInteger fromID; // 发送者 自己
@property (strong, nonatomic) NSString *loginState; // 当前用户的状态: online/offline
@property (assign, nonatomic) NSInteger width; // 共享大小
@property (assign, nonatomic) NSInteger height; // 共享大小
// 激励
@property (copy, nonatomic) NSString *giftID; // 获得gif的number
// 激励: 1, 动图模式, 2, 音频模式
// 共享: 1, 共享编程界面, 2, 共享桌面，如果没有这个参数，默认共享编程界面
@property (assign, nonatomic) NSInteger type;
@property (assign, nonatomic) NSInteger msgType; // 1: 发送gif, 2: 同步
@property (copy, nonatomic) NSArray *excitationUid; // 中奖人
@property (strong, nonatomic) NSArray *data; // 数据信息, 谁(uid)对应的获奖数目(ExcitationNum)

@end
